<?php /* Smarty version Smarty-3.1.6, created on 2018-03-10 21:20:53
         compiled from "./Tpl/Admin\Public\ueditor.html" */ ?>
<?php /*%%SmartyHeaderCode:284595aa3dbb547de12-97902948%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'eb57f9bcd711236f89ef2802579f903c65e3d4e9' => 
    array (
      0 => './Tpl/Admin\\Public\\ueditor.html',
      1 => 1488450799,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '284595aa3dbb547de12-97902948',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'resVersion' => 0,
    'EDITOR_UPLOAD_FILE_PATH' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_5aa3dbb548999',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5aa3dbb548999')) {function content_5aa3dbb548999($_smarty_tpl) {?><!-- 加载百度编辑器 -->
<script type="text/javascript" src="./ueditor/ueditor.config.js?v=<?php echo $_smarty_tpl->tpl_vars['resVersion']->value;?>
"></script>
<script type="text/javascript" src="./ueditor/ueditor.all.min.js?v=<?php echo $_smarty_tpl->tpl_vars['resVersion']->value;?>
"></script>
<script> var ue=UE.getEditor('editor'); </script>
<script>
    UE.Editor.prototype._bkGetActionUrl = UE.Editor.prototype.getActionUrl;
    UE.Editor.prototype.getActionUrl = function(action) {
        if (action == 'uploadimage' || action == 'uploadscrawl' || action == 'uploadimage' ) {
            return '<?php echo $_smarty_tpl->tpl_vars['EDITOR_UPLOAD_FILE_PATH']->value;?>
';
        }else if (action == 'uploadvideo') {
            return 'http://a.b.com/video.php';
        } else {
            return this._bkGetActionUrl.call(this, action);
        }
    }
</script><?php }} ?>